﻿<Grid x:Class="DrawToolsLib.EllipseControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:dt="clr-namespace:DrawToolsLib"
    Height="Auto" Width="250" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
    <Grid.Resources>
        <Style TargetType="{x:Type Label}">
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="FontSize" Value="11"/>
        </Style>
        <Style TargetType="{x:Type TextBox}">
            <Setter Property="Height" Value="18"/>
            <Setter Property="FontSize" Value="11"/>
        </Style>
        <Style TargetType="{x:Type ComboBox}">
            <Setter Property="Height" Value="18"/>
            <Setter Property="FontSize" Value="11"/>
        </Style>
    </Grid.Resources>

    <Grid.ColumnDefinitions>
        <ColumnDefinition/>
        <ColumnDefinition/>
    </Grid.ColumnDefinitions>    
    <Grid.RowDefinitions>
        <RowDefinition Height="Auto"/>
        <RowDefinition Height="Auto"/>
        <RowDefinition Height="Auto"/>
        <RowDefinition Height="Auto"/>
        <RowDefinition Height="Auto"/>
        <RowDefinition Height="Auto"/>
    </Grid.RowDefinitions>
    
    <dt:ColorPick x:Name="SetColor" Margin="0,0,0,5" Grid.ColumnSpan="2"/>
    
	<Label Content="Pattern" Grid.Row="1" />
    <ComboBox x:Name="SetLinePattern" IsSynchronizedWithCurrentItem="True" Grid.Column="1" Grid.Row="1" Margin="5,0,5,5"/>
	
	<Label Content="FillPattern" Grid.Row="2" />
    <ComboBox x:Name="SetFillPattern" IsSynchronizedWithCurrentItem="True" Grid.Column="1" Grid.Row="2" Margin="5,0,5,5"/>
	
	<Label Content="LineThickness" Grid.Row="3"/>
    <TextBox x:Name="SetLineThickness" Margin="5,0,5,5" Grid.Row="3" Grid.Column="1"/>
    
    <Label Content="X1" Grid.Row="4" HorizontalAlignment="Left"/>
    <TextBox x:Name="SetExtentX1" Grid.Row="4" Width="50" HorizontalAlignment="Right" Margin="5,0,5,5"/>
    
    <Label Content="Y1" Grid.Row="4" Grid.Column="1" HorizontalAlignment="Left"/>
    <TextBox x:Name="SetExtentY1" Grid.Row="4" Grid.Column="1" Width="50" HorizontalAlignment="Right" Margin="5,0,5,5"/>

    <Label Content="X2" Grid.Row="5" HorizontalAlignment="Left"/>
    <TextBox x:Name="SetExtentX2" Grid.Row="5" Width="50" HorizontalAlignment="Right" Margin="5,0,5,5"/>
    
    <Label Content="Y2" Grid.Row="5" Grid.Column="1" HorizontalAlignment="Left"/>
    <TextBox x:Name="SetExtentY2" Grid.Row="5" Grid.Column="1" Width="50" HorizontalAlignment="Right" Margin="5,0,5,5"/>
</Grid>
